import http from '../request'
export default {
  async getDigitalAlbumLists() {
    return await http.get(`/getDigitalAlbumLists#/getRecommend`)
  },
  async getRadioLists() {
    return await http.get('/getRadioLists')
  },
  // 搜索接口,默认周杰伦
  async getSmartbox(name) {
    return await http.get('/getSmartbox?key=' + name)
  },
  // 歌曲相关信息
  async batchGetSongInfo(mid) {
    return await http.post('/batchGetSongInfo', {
      "songs": [
        [mid]
      ]
    })
  },
  // 歌曲播放链接
  async getMusicPlay(mid) {
    return await http.get('/getMusicVKey?songmid=' + mid)
  },
  // 歌词链接
  async getLyric(mid){
    return await http.get('/getLyric?songmid=' + mid)
  }
}
// http://localhost:3200/getLyric?songmid=000hXKw826rwIr